package com.hnchances.mapper;

import com.hnchances.entity.User;
import com.hnchances.entity.Student;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author sch
 * @version 1.0
 * @since 2025-09-28-15:11
 */
@Mapper
public interface LoginMapper {
    void insertUser(User user);
    void updateUser(User user);
    void deleteUser(Integer userId);
    User selectById(Long id);

    Student selectStudentByIdcard(String idcard);
}